package com.chancein.cloud.report.charts.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 发起登录的请求
 *
 * @author: LiaoZiHao
 * @date: 2023/8/6 0:36
 * Copyright © 2022 Hundsun Technologies Inc. All Rights Reserved
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TokenReq implements Serializable {

    private static final long serialVersionUID = 2200113L;

    private String accountMutex;

    private String accountName;

    private String appCode;

    private String equipmentType;

    private String imageCode;

    private String loginType;

    private String password;

    private String uuid;

    public TokenReq(String accountName) {
        this.accountMutex = "d2583cad7c7062390192723be55a2f1b:" + accountName;
        this.accountName = accountName;
        this.appCode = "d2583cad7c7062390192723be55a2f1b";
        this.equipmentType = "web";
        this.imageCode = "";
        this.loginType = "LOGINEX_SAAS_ACCOUNT_LOGIN";
        this.password = "CV1626%35%32%33%38%99%101%119%96%18";
        this.uuid = "";
    }
}
